<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');

// Create shortcuts to some parameters.
$params  = $this->item->params;
$images  = json_decode($this->item->images);
$urls    = json_decode($this->item->urls);
$canEdit = $params->get('access-edit');
$user    = JFactory::getUser();
$Itemid	 = JRequest::getVar('Itemid',0);
?>
<?php echo $this->item->event->beforeDisplayContent; ?>
<div class="clear"></div>
<div id="body-title">
	<div class="w-content">            	
		<h2 class="page-title"><?php echo $this->escape($this->item->title); ?></h2>            		
	</div><!--w-content-->                       
</div><!--body-title-->
<div class="w-content">
	<div class="left-text">
       <?php echo $this->item->fulltext; ?>         	
	</div><!--left-text-->
	<div class="right-img">
		<div class="box-contact">
			{article 9}{text}{/article}
		</div>
		
		<div class="m-t-12">
		<img
	<?php if ($images->image_fulltext_caption):
		echo 'class="caption"'.' title="' .htmlspecialchars($images->image_fulltext_caption) . '"';
	endif; ?>
	src="<?php echo htmlspecialchars($images->image_fulltext); ?>" alt="<?php echo htmlspecialchars($images->image_fulltext_alt); ?>"/>
		
		</div>
	</div><!--right-img-->
</div> <!--w-content--> 
<?php echo $this->item->event->afterDisplayContent; ?>
